package vcp.client.request;

import vcp.entity.Complaint;
import vcp.enums.RequestType;
/**
 * <p> update complaint request to server class </p>
 * @author VCP team
 *
 */
public class UpdateComplaintRequest extends Request
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6611603601155248546L;
	private final Complaint complaint;
	/**
	 * getter
	 * @return complaint
	 */
	public Complaint getComplaint ()
	{
		return this.complaint;
	}
	/**
	 * constructor
	 * @param complaint
	 */
	public UpdateComplaintRequest ( Complaint complaint )
	{
		super(RequestType.UPDATE_COMPLAINT);
		this.complaint = complaint;
	}

}
